[ETHEREUM-CONTRACTS] make openzeppelin import path version specific#2058
[ETHEREUM-CONTRACTS] make openzeppelin import path version specific#2058
Conversation
Changelog ReminderReminder to update the CHANGELOG.md for any of the modified packages in this PR.
|
|
strange failure in autowrap package: Relevant code in Note how the previous The compile error could be solved by changing the paths to |
|
finding: fails because from the perspective of the compiler, Ways to avoid this:
For projects using OZ v5, this type incompatibility cannot be avoided (regardless of this change happening or not). Possible workaround: cast to a type imported from v5. |
|
will revist this, with a proper fix where OZ versions are explicit in path. |
|
What I would also like to achieve is to make the |
openzeppelin-contracts stable major version has been v5 for a while.
If a Solidity project using openzeppelin v5 also wants to use the Superfluid protocol, that can result in a conflict.
In order to make that less likely, and to prepare the migration to openzeppelin v5, we change the import path to explicitly contain v4.